<template>
	<!-- 收货-收货时间begin -->
	<div class="flex">
		<div class="addAdress_flex" @click="show = !show">
			<strong>添加收货地址</strong>
			<div class="right">
				<i class="iconfont icon-jiahao1"></i>
			</div>
		</div>
		<van-overlay :show="show" style="z-index: 999">
			<div class="wrapper">
				<div class="block">
					<div @click="show = !show" class="back">
						<i class="iconfont icon-guanbi2"></i>
					</div>
					<van-address-edit
						show-postal
						show-delete
						show-set-default
						show-search-result
						:area-columns-placeholder="['请选择', '请选择', '请选择']"
					/>
				</div>
			</div>
		</van-overlay>
		<span>添加并保存您的送货地址</span>
		<div class="change_Adress" @click="show = !show">
			<strong>广西</strong>
			<strong>玉林市</strong>
			<strong>玉州区</strong>
		</div>
		<div class="change_default" @click="show = !show">
			<span>玉林师范学院</span>
		</div>
	</div>
	<!-- 收货-添加收货地址begin -->
</template>

<script>
export default {
	name: 'ConfirmOrderAddDeliveryAddress',
	data() {
		return {
			show: false, // 添加地址弹窗显示状态
		};
	},
};
</script>

<style scoped>
.flex {
	display: flex;
	flex-direction: column;
	height: auto;
	margin: 23px 26px 12px 26px;
	padding: 15px 20px 16px 22px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
	border-radius: 12px;
}
.addAdress_flex {
	display: flex;
	height: auto;
}
.addAdress_flex > strong {
	height: 25px;
	color: #3c454b;
	font-family: Noto Sans SC;
	font-size: 20px;
	font-weight: 500;
	line-height: 25px;
	letter-spacing: 0.25714290142059326px;
	text-align: left;
	flex: 1;
}
.addAdress_flex > .right > img {
	width: 12px;
	height: 12px;
	vertical-align: middle;
}
span {
	height: 15px;
	margin-top: 10px;
	color: rgb(110, 124, 135);
	font-family: Noto Sans SC;
	font-size: 10px;
	font-weight: 400;
	line-height: 15px;
	letter-spacing: 0px;
	text-align: left;
	padding: 0 0 30px 0;
	margin: 0 0 15px 0;
	border-bottom: 1px solid rgb(229, 237, 242);
}
.change_Adress > strong {
	width: 133px;
	height: 21px;
	top: 356.48px;
	left: 46.82px;
	color: rgb(60, 69, 75);
	font-family: Noto Sans SC;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	letter-spacing: 0px;
	text-align: left;
	margin-right: 10px;
}

.wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.block {
	width: 80%;
	height: 70vh;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 20px;
	padding: 20px;
	background-color: #fff;
	position: relative;
}
.block .back {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 20px;
	top: 20px;
	line-height: 30px;
	text-align: center;
}
.change_default span {
	border: none;
}
i {
	font-size: 25px;
}
</style>
